function DifficulteDirective () {
	return {
    restrict: 'AE',
    scope: {
      niveau: '@',//isolated scope
      niveaumax: '@'
    },
    replace: true,
    template: '<span class="font-weight-600">{{niveauVal}} / {{niveauMaxVal}}</span>',
    link: function(scope, elem, attrs) {

        scope.niveauMaxVal = scope.niveaumax;

       if( scope.niveau != null && scope.niveau != "" && scope.niveau != 0)
        scope.niveauVal = scope.niveau;
      else 
        scope.niveauVal = "_";

    }
  };
};